package com.kitty.game.item.config;

import com.kitty.game.config.CardAttrib;
import lombok.Getter;
import lombok.Setter;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

import java.util.List;

/**
 * 变身卡
 */
@Table("p_changecard")
@Getter
@Setter
public class ChangeCard implements Cloneable{
    @Name
    @Comment("变身卡名字")
    private String name;

    @Column
    @Comment("变身卡等级")
    private int level;

    @Column
    @Comment("变身卡相性")
    private int polar;

    @Column
    @Comment("变身卡Icon")
    private int icon;

    @Column
    @Comment("变身卡类型")
    private int type;

    @Column
    @Comment("变身卡属性")
    private List<CardAttrib> attrib;

    @Column
    @Comment("变身卡阵法属性")
    private List<CardAttrib> battleAttrib;

    private long expireTime;

    @Override
    public ChangeCard clone() throws CloneNotSupportedException {
        return (ChangeCard)super.clone();
    }

}
